package com.caishi.lkx.user.userlog.model;

import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 日志记录基础
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RecordsImage implements Serializable {

    @Id
    private String id;

    @Indexed
    private String ip;

    @Indexed
    private String industry;

    @Indexed
    private String exam;

    @Indexed
    private List<Long> groupIds;
    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    private String userId;

    private Object image;

}
